import request from '@/utils/request.js'

//新增收货地址 api/mall/addOrUpdateMallCustomerAddress
export const addOrUpdateMallCustomerAddress = (params) => request.post('api/mall/addOrUpdateMallCustomerAddress',params)

//获取收货地址列表 api/mall/listMallCustomerAddressPageInfo
export const listMallCustomerAddressPageInfo = (params) => request.post('api/mall/listMallCustomerAddressPageInfo',params)

//设置默认地址 api/mall/setDefaultMallCustomerAddress
export const setDefaultMallCustomerAddress = (params) => request.post('api/mall/setDefaultMallCustomerAddress',params)

//删除收货地址 api/mall/delMallCustomerAddress
export const delMallCustomerAddress = (params) => request.post('api/mall/delMallCustomerAddress',params)

//获取默认地址 api/mall/getDefaultMallCustomerAddress
export const getDefaultMallCustomerAddress = (params) => request.post('api/mall/getDefaultMallCustomerAddress',params)

//修改用户名称 头像 密码 手机号通用接口 sys/mall/updateMallMemberInfo
export const updateMallMemberInfo = (params) => request.post('sys/mall/updateMallMemberInfo',params)

//退出账号 sys/mall/logout
export const logout = (params) => request.post('sys/mall/logout',params)


